<script setup>
import { ref }from 'vue';
const counter = ref(0)

</script>

<template>
<button @click="counter++">Add 增加1</button>
<p>被点击{{counter}}次</p>
</template>
